package com.tedu.weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WeiboDetailVO {
    @ApiModelProperty(value = "微博内容",example = "今天天气不错")
    private  String content;
    @ApiModelProperty(value = "用户昵称",required = true,example = "阿三")
    private  String nickname;
    @ApiModelProperty(value = "微博id",required = true, example = "1")
    private Integer id;
    @JsonFormat(pattern ="yyyy年MM月dd日 HH:mm:ss a",timezone="GMT+8")
    @ApiModelProperty(value = "创建时间",required = true,example = "2024年6月13日,11:35:20")
    private Date created;

}
